package com.ruoyi.project.stop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 报警阈值设置对象 warn_config
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public class WarnConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 温度最小值 */
    @Excel(name = "温度最小值")
    private BigDecimal temperatureMin = new BigDecimal(-20);

    /** 温度最大值 */
    @Excel(name = "温度最大值")
    private BigDecimal temperatureMax;

    @Excel(name = "温度最大值二级")
    private BigDecimal temperatureMaxSecond;

    /** 压强最小值 */
    @Excel(name = "压强最小值")
    private BigDecimal pressureMin = new BigDecimal(0);

    /** 压强最大值 */
    @Excel(name = "压强最大值")
    private BigDecimal pressureMax;

    @Excel(name = "压强最大值二级")
    private BigDecimal pressureMaxSecond;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTemperatureMin(BigDecimal temperatureMin)
    {
        this.temperatureMin = temperatureMin;
    }

    public BigDecimal getTemperatureMin()
    {
        return temperatureMin;
    }

    public void setTemperatureMax(BigDecimal temperatureMax)
    {
        this.temperatureMax = temperatureMax;
    }

    public BigDecimal getTemperatureMax()
    {
        return temperatureMax;
    }

    public void setPressureMin(BigDecimal pressureMin)
    {
        this.pressureMin = pressureMin;
    }

    public BigDecimal getPressureMin()
    {
        return pressureMin;
    }

    public void setPressureMax(BigDecimal pressureMax)
    {
        this.pressureMax = pressureMax;
    }

    public BigDecimal getPressureMax()
    {
        return pressureMax;
    }

    public BigDecimal getTemperatureMaxSecond() {
        return temperatureMaxSecond;
    }

    public void setTemperatureMaxSecond(BigDecimal temperatureMaxSecond) {
        this.temperatureMaxSecond = temperatureMaxSecond;
    }

    public BigDecimal getPressureMaxSecond() {
        return pressureMaxSecond;
    }

    public void setPressureMaxSecond(BigDecimal pressureMaxSecond) {
        this.pressureMaxSecond = pressureMaxSecond;
    }

    @Override
    public String toString() {
        return "WarnConfig{" +
                "id=" + id +
                ", temperatureMin=" + temperatureMin +
                ", temperatureMax=" + temperatureMax +
                ", temperatureMaxSecond=" + temperatureMaxSecond +
                ", pressureMin=" + pressureMin +
                ", pressureMax=" + pressureMax +
                ", pressureMaxSecond=" + pressureMaxSecond +
                '}';
    }
}
